package com.zhenquan.doubanread.service;

import com.github.pagehelper.PageInfo;
import com.zhenquan.doubanread.common.ServerResponse;
import com.zhenquan.doubanread.pojo.WantRead;

import java.util.List;

/**
 * Created by Administrator on 2018/2/3 0003.
 */
public interface IWantReadService {
    ServerResponse<String> addOrRemove(WantRead wantRead);

    ServerResponse<PageInfo> list(Integer userId, int pageNum, int pageSize);
    ServerResponse<List<WantRead>> list(Integer userId);
}
